package entity.bean;

/**
 *
 * @author 52571783
 */
public class User {
    // Data Members
    private String id;
    private int role;
    private String name;
    private char gender;
    private String birthday;
    private String mobile;
    private String email;
    private int points;
    
    public User(int role){
        this.role = role;
        birthday = null;
        mobile = null;
        email = null;
        points = 0;
    }
    
    // Setter Functions
    public void setId(String value){
        id = value;
    }
    
    public void setRole(int value){
        role = value;
    }
    
    public void setName(String value){
        name = value;
    }
    
    public void setGender(char value){
        gender = value;
    }
    
    public void setBirthday(String value){
        birthday = value;
    }
        
    public void setMobile(String value){
        mobile = value;
    }
    
    public void setEmail(String value){
        email = value;
    }
        
    public void setPoints(int value){
        points = value;
    }
    
    // Getter Functions
    public String getId(){
        return id;
    }
    
    public int getRole(){
        return role;
    }
    
    public String getName(){
        return name;
    }
    
    public char getGender(){
        return gender;
    }
    
    public String getBirthday(){
        return birthday;
    }
    
    public String getMobile(){
        return mobile;
    }
    
    public String getEmail(){
        return email;
    }
    
    public int getPoints(){
        return points;
    }
}
